package znet

import "webdemo/src/zinx/zinterface"

type Request struct {
	conn zinterface.IConnection
	msg  zinterface.IMessage
}

func (r *Request) GetConnection() zinterface.IConnection {
	return r.conn
}

func (r *Request) GetData() []byte {
	return r.msg.GetMsgData()
}

func (r *Request) GetDataId() uint32 {
	return r.msg.GetMsgId()
}
